home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
comm
/
comst12.zip
/
COMSET12.DOC
< prev
next >
Wrap
Text File
|
1993-12-17
|
23KB
|
661 lines
___________________________________________
C O M S E T
Modem / Uart Setup Program
Version 12.0..release date 12/20/93
from Hank Volpe Copyright 1987 - 1993
BBS Phone: 410-256-3631
Voice Phone: 410-256-5767
___________________________________________
Introduction
Comset is a utility that is designed to setup a communications port
and a AT (Hayes) Compatible smartmodem. Many modems, especially
internals, do not have a method to reset the modem when it is
activated, nor does an adequate method exist to setup the serial port
for use.
Comset will setup your serial port to any speed from 300 to 115200 bps
and then check to see if your modem is on-line. If it isn't, Comset
will perform a hardware reset to "wake" it up. Next a software reset
is performed by sending the command ATZ. If the reply OK is received,
you are informed that the modem is fine. If OK is not received, Comset
will attempt 3 times to reset the modem before informing you of an
error. If you have an external modem and it is off, Comset will abort
after setting up the serial port to the desired baud rate.
Comset Version 12.0 Documentation copyright (c) 1993 by Hank Volpe
Page 2
What's new in Version 12.0 ?
---------------------------
Version 12 increases the DTE rate to 115,200 bps. The ability
to toggle a 16550AFN FIFO buffer on or off has been added to the
command line. Also, a routine has been added to trap modems that
send NULLS, which confuses the C language string search routines.
Finally, the default routines do not use transmitter driven interrupts,
instead a polled routine is used. Some earlier uarts cannot handle
transmitter driven routines. The receive routines (of course) are
interrupt driven.
You can always download the latest version of Comset, plus get user
support on the Modem Doctor BBS (410-256-3631) 24 hrs a day. All
users, registered or shareware, are always welcome. Additionally,
you can find Comset on most national BBS systems.
Comset attempts to answer your communication utility needs with a
product that is more flexible and more powerful than simple
Port testers or Port speed adjusting programs. With a top speed of 115.2k,
redirectable output to a file, and errorcodes returned to batch files.
Comset 12 also contains a new uart driver that works with all types of
PC-Compatible uart chips.
Some of the features of Comset include the following ;
Level 1 options...Shareware Version
** User Selected baud rates from 300 to 115200 bps.
** User Selected Comm port assignments [1 to 4].
** User Selected IRQ lines (2-7)
** Toggle 16550AFN Buffers ON or OFF
** Set 16550AFN trigger levels to 14
** Modem Status register testing.
- Comset tests the registers for DTR/RTS and Carrier Detect
** Redirectable output..can be sent to a file for logging.
or used over any serial link.
** RTS/CTS DTR/DSR Handshake testing.
** Ability to setup the UART alone for dumb modems or
other serial devices up to 115.2K baud
** "s" switch allows you to swap any comm pointers in memory
** "p" switch allows you to see your comm address assignments
** Log in of Comm ports 3 & 4 to DOS for use by other programs
such as high level languages or applications.
** Ability to set a uart up and raise control lines without
the need for an active serial device or modem.
Registered users have access to this special feature;
** Ability to send custom Hayes command strings to the modem
using a simple ASCII text file
Comset Version 12.0 Documentation copyright (c) 1993 by Hank Volpe
Page 3
I. USING COMSET
----------------
The usage syntax for Comset is simple.
COMSET [speed] [port] U or
COMSET [speed] [port] or
COMSET [speed] [port,irq] or
COMSET [speed] [port] ON or
COMSET [speed] [port,irq] ON or
COMSET [speed] [port] U ON or
COMSET h
or
COMSET i
or
COMSET p
or
COMSET s [port] [port]
[speed] and [port] are user options
[speed] and [port,irq] are also user options
u tells Comset to set the UART only
ON tells Comset to activate 16550AFN buffers
if using a 16550AFN Uart chip.
h invokes runtime help for the user
i shows you revision and program information
p peeks at your comm port memory address assignments
s swaps the memory address assignments between the
first port you entered and the second.
Comset is easy to use. Typing COMSET from the dos prompt will
automatically attempt to set up serial port Com1 to 2400 bps and
attempt to wake up its modem. Selecting a different speed involves
only adding the speed after the word Comset...ie COMSET 1200 sets
serial port COM1 to 1200 bps instead of the default 2400. Trailing
zeros are not necessary, so you could also type COMSET 12 to set up
serial port COM1 to 1200 bps. If you wish to use a different serial
port, add that after the speed...ie COMSET 24 2 will set serial port
Com2 to 2400 bps. If you accidentally enter an invalid baud rate, the
default of 2400 bps will be used. If you accidentally enter an invalid
range of comm ports, the default of COM1 will be used. Defaults are
always used if the user does not supply speed and port. Typing a U
after any option instructs Comset to setup the serial port only and
not to look for a modem. This is handy for setting up serial
printers or other dumb devices to speeds higher than 9600 baud.
Mode.com from dos will do the same, but not at 115200 baud, and not
on all machines!.
Typing Comset 2400 3,5 will set port 3 using IRQ 5 to 2400 bps. It
is important to use the comma (,) between the port and the IRQ line.
Valid IRQ assignments are between 2-7. If you don't include one, Comset
automatically defaults to PC industry standard selections.
Comset Version 12.0 Documentation copyright (c) 1993 by Hank Volpe
Page 4
Typing Comset p will display all of the comm port addresses logged
into Dos. This can be handy when you are trying to configure a serial
card for proper addresses.
Typing Comset s will swap the address assignments in memory of com1
and com2. If you entered comset s 1 4, then the address assignments
will be swapped between com1 and com4 instead of com1 and com2. Any
valid port from 1 to 4 can be used.
Typing COMSET h will bring up a runtime summary of features and other
helpful information. Ideally, Comset should be run out of your
autoexec.bat file when you first turn on your